
template<typename T>
T max(T const& x, T const& y)
{
  return x>y?x:y;
}

int x = max(3,5);